be called as witness to the court